package com.jiangyg.mall.product.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：品牌分类关联
 *
 * @author jiangyg
 * @email email@jiangyg.com
 * @date 2021-10-18 22:25:29
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
public class CategoryBrandDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 品牌id
     */
    @NotNull
    private Long brandId;

    /**
     * 分类id
     */
    @NotNull
    private Long categoryId;

}
